/* 重置样式 */
@charset "UTF-8";

/* 清除内外边距 */
view,
text,
button,
input,
textarea,
image,
navigator,
scroll-view,
swiper,
swiper-item,
checkbox,
radio,
picker,
slider,
switch,
progress,
canvas,
video,
audio,
map,
canvas {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* 设置默认字体 */
page {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 28rpx;
  line-height: 1.5;
  color: #333;
  background-color: #f5f5f5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* 重置文本格式元素 */
text {
  text-decoration: none;
}

/* 重置表单元素 */
button,
input,
select,
textarea {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  outline: none;
  border: none;
  background-color: transparent;
}

/* 去除按钮的默认样式 */
button {
  background: none;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  outline: none;
  line-height: normal;
  cursor: pointer;
}

button::after {
  border: none;
}

/* 重置列表元素 */
ul,
ol {
  list-style: none;
}

/* 重置图片元素 */
image {
  border-style: none;
  width: 100%;
  height: 100%;
  display: block;
}

/* 重置链接元素 */
navigator {
  color: inherit;
  text-decoration: none;
}

/* 重置浮动 */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* 重置表格 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 重置其他元素 */
[hidden] {
  display: none !important;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 0;
  height: 0;
  color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: transparent;
}

/* 文本溢出省略号 */
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}    